<?php /* Smarty version 2.6.26, created on 2011-03-03 02:34:51
         compiled from public/menu.tpl */ ?>
   <ul> 
        <?php $_from = $this->_tpl_vars['categories']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['index'] => $this->_tpl_vars['category']):
?> 
            <?php $this->assign('current_category_class', ""); ?> 
            <?php if ($this->_tpl_vars['category']->get_category_id() == $this->_tpl_vars['category_id']): ?> 
                <?php $this->assign('current_category_class', "class='current'"); ?> 
            <?php endif; ?> 
        <li><a  href="?category_id=<?php echo $this->_tpl_vars['category']->get_category_id(); ?>
"  
                title="<?php echo $this->_tpl_vars['category']->get_name(); ?>
" <?php echo $this->_tpl_vars['current_category_class']; ?>
 ><?php echo $this->_tpl_vars['category']->get_name(); ?>
</a> 
        </li> 
        <?php endforeach; endif; unset($_from); ?> 
    </ul>
